﻿using System;
using Dxr.Police.IACS.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_CLWP_CLWXBYSource : DataSourceBase<SHZY_CLWP_CLWXBY>
    {
        protected override void OnInserting(SHZY_CLWP_CLWXBY model, Dxr.Police.Models.UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.UserId;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_CLWP_CLWXBY : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        [Source("企业名称", Condition = true, Show = true, ShowIndex = 0)]
        public string QYMC { get; set; }


        [Source("企业代码", Condition = true, Show = true, ShowIndex = 1)]
        public string QYDM { get; set; }


        [Source("企业地址", Condition = true, Show = true, ShowIndex = 2)]
        public string QYDZ { get; set; }


        public string QYSZQX { get; set; }


        [Source("车主姓名", Condition = true, Show = true, ShowIndex = 3)]
        public string CZXX { get; set; }


        public string ZJHM { get; set; }


        [Source("联系电话", Condition = true, Show = true, ShowIndex = 4)]
        public string PHONE { get; set; }


        [Source("手机", Condition = true, Show = true, ShowIndex = 5)]
        public string MOBILE { get; set; }


        public string MOBILE_2 { get; set; }


        public string LXDZ { get; set; }


        public string GZDW { get; set; }


        public string WXGXH { get; set; }


        [Source("车牌号码", Condition = true, Show = true, ShowIndex = 6)]
        public string CPHM { get; set; }


        public string CSYS { get; set; }


        public string CLXH { get; set; }


        public string FDJH { get; set; }


        public string CJH { get; set; }


        public string CLSBH { get; set; }


        public string WXLX { get; set; }


        public string GZQK { get; set; }


        public string JCSJ { get; set; }


        public string XLSJ { get; set; }


        public string CCSJ { get; set; }


        public string JSSJ { get; set; }


        public string CJR { get; set; }


        public string WXS { get; set; }


        public string BZ { get; set; }


        public string QT { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }

        public DateTime? UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Vehicle_Maintain;
    }
}
